package com.daqian.cloud.client.demo.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * @Author: daqian
 * @Date: 2019/4/22 21:11
 */
@Service
public class DemoService {
    @Value("${server.port}")
    private String port;

    public String getDemoStr(String str) {
        System.out.println("xxx:" + str);
        return port + " hah demo1 " + str + LocalDateTime.now();
    }
}
